Added comments for multitouch support, removed unneeded variables