Explicitly checks to make sure hotkeys are actually down, rather than both down and up. This was causing the restart hotkey to restart the media twice, once on key down, once on key up.