Added key bindings moving to beginning and end of line (including the ability to select text in between). Added comments to key bindings.