Allow immediate graceful exit

While the script is running, ctrl-c will cause the current maze to
finish, then the script will exit. Now, using ctrl-c twice will cause
the script to exit immediately.