editor: minor cleanups