Fixed stdin buffering that caused no output to show up until the buffer was full.
Catch KeyboardInterrupt so a traceback isn't displayed when interrupted.