Added some new keybindings and functions (home/end). Limit cursor from going past the end of the file.