Main: factor out SetScene handling from localRenderThread