Engine and plugins are destructed when the editor is closed - closes #22