Suppressed passthrough of keyboard shortcuts

When pressing any of the designated keyboard shortcuts, the keypress event
was being passed onto the browser afterward instead of being ended by the
page. This causes problems with things such as the "search when typing" option
with firefox, etc.