Added editorCreated and editorDestroyed events to EditorManager
tested refactoring (not working)