Clean up and multi-touch fix.

I just added an improvement to the example project and removed unnecessary code as well as fixed one issue.