Engine now closes when you close the editor.