Implemented keyRepeat properly, fixed bug in keyUp and contextMenu. Fixed bug in focusing root-level componests.