Lots of fixes, added multiplayer basics.