Updated KeyboardInterrupt exception block to prompt user for quit