improvements to the editor