Fix terminal characters on emacs.
Fix config for old versions (on OSX). Change window keybinding.