Make gui support code and examples uniform and all working correctly....
Make gui support code and examples uniform and all working correctly.
Note that this has changed a little bit the API, as now all the
inputhook.enable* methods all take an optional app object instead of a
boolean flag.