Fixed EDIT character insertion, added prog code

Added the program code for BATCH and EDIT as they are now. Fixed the
period/delete button mixup with onkeypress and onkeydown by making
delete come across as Unicode 15 (SI). Eventually I should interpret the
caps/shift and only accept interrupts from onkeydown when in a program.