Multiplayer support!

Also squiched a few bugs...