Fixed safari websocket crash & Pinching now works

- On both master and remote side, when a message is received the parsing of the message is dispatched wie window.requestAnimationFrame(). This seems to prevent the websocket crashes on iOS (or at least make them very rare)
- Continued implementation of the pinching gesture and device transformation calculation, which at least rudimentary works now
	- right now, PPI is hardcoded for testing purposes, this needs a better solution