add isLocalPlayer checks.
added more messaging code to multiplayer protocol.