lots of changes to TUIO.htm and bugfixes for interface.js