Changed command keyboard-quit (does not work) to keyboard-escape-quit (works).