Bug fixes for commands when we've not connected
added signal handler to catch ctrl-c, added (commented out) ncurses code