Scenes are now correctly cleaned up on exit