cleaned up the editor window