Small cleanups, and a check for sceneThread == null before stopPushing