Adding keystroke 'q' for invoking do_quit(). Improves compatibility on
OSX where F12 is occupied by the system by default.