small cleanup
Changed home/end keybindings to work on os x.  Need to check if this works on unix. -Travis