More GM fixes.
Backspace repeat.
Preliminary work for multiple pages.
Preliminary work for shift key.