exit(1) on ESC and 'q', too