improvements to editor