Reduced the number of UpdateScene() calls in the editor, and removed some dead code.