Fix bug causing window to scroll when blur is called in FF. #245
Remove deprecated keyPress property from commands.
Remove redundant code caused by last commit.
Fix bug with button states not being updated when called via
shortcuts. #255