make scene non-global

need to tidy up references, especially SceneObjects