add shortcut key events to editable text

- had to combine event listeners, so that some don't override others
removed key-events from html document
added map[] to global variables
worked on designing user variables