Merge pull request #112 from benoit-pierre/fix-jumbled-output

Improve X11 keyboard emulation.
limit the time variable to the min max legal value for unsigned long
Merge pull request #113 from balshetzer/master

limit the time variable to the min max legal value for unsigned long
Improve X11 keyboard suppression by using grabs.