allow proper insertion of newlines
Home and End keys
changed shortcuts for save and exit