A few fixes and improvements

A few small changes, like fixing tapHold when multitouching, compatibility with Samsung Galaxy devices and removing performance drop in swipes.

Please comment  if you have any questions. I am not sure how the indentation will look in the end, as it looks good inside the editor with 4 spaces per tab.