a lot of fixes, and added debug tools for desktop multitouch!