improve editor's functionality and UI