Catch KeyboardInterrupt to avoid traceback

Fixes #75
Merge pull request #77 from olof/topic/catch_keyboardinterrupt

Catch KeyboardInterrupt to avoid traceback