Client and server now handle packet acknowledgement.
touching and game reset after touch now works correctly.
Fixed a bug where the client threw errors when reading an empty buffer.
Fixed rotation interpolation so that it works correctly over the 360 degree barrier
Cleaned up interpolation code with some constants.

Cleaned up main function by adding some external functions.
Made the game instance a non-global (fixes some bugs I have seen in other games I've made)