Name layout preview window based on what layout is selected.
Don’t use the OpenGL context when mapping world/window coordinates, as that’s not the rendering thread and may cause crashes.