Slow saved layout change

Thanks. It's very odd if having a jpeg loaded into the viewer is a factor when using that menu, since the old window would just be closed completely before the new one is opened (assuming the layout is configured to close old windows).

Would it be possible to generate some manually created dumps while the delay is happening? We should be able to look at those and see where in the code the delay is happening.