Corrected strcmp for esc keypresses.