added shortcuts to sgml mode, fixed scrolling, removed unused modes, added window rotation func/shortcut