Added extra keyboard interrupt handling and an attempt at killing the process if a KeyboardInterrupt is intercepted