Added support needed for EDIT program

EDIT program now can backspace, delete, and enter letters. Letters come
through from onkeydown instead of onkeypress though which causes
problems for String.fromCharCode().