added try-except block for KeyboardInterrupt and SystemExit. Removes Traceback on Ctrl-C trigger.