Added keypress handler for powerusers.

Added document keypress handler, so powerusers can utilise key shortcuts, for instance spacebar toggles color/greyscale.