Ok, this is a larger change.
1) debug with pydevd fixed (settrace called after curses init)
2) ^C will exit the program through normal means
3) Undo implemented