Another editor bugfix. Also fixed Ctrl-C (and Ctrl-Z) handling to work with using curses raw() mode