Improve TeamPlayerId and player joining.
Code cleanup.
Process shot messages.