This fixes the problem with missing key-presses (key rollover). With kind permission of the original Hermes developers Laurence Reeves and Tony Firshman