Added EditorComponent.dispose calls to remove memory leaks