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