fixed popup in editor, removed commands menu, added save dialogue on exit