Fixing kill-emacs binding so it works in terminals too.