Began refactoring EditorManager.