relocate keyboard/mouse hooks
slight terminology changes
refactor to single version of GetWindowThreadProcessId