Updated multiplayer logic, various other fixes