statSync error handling, ESC key binding.