major refactoring of sceneEditor for perf gain phase 4