- added --key option:
  grab keyboard,
  imported xdotool's key parsing code.
- fixed bug: if using unclutter, and mouse is hidden when mousegrab starts then forwarding of events fails
- use globals.
- cleanup: moved windowin logic into query_pointer() and get_focus_window().