Fixed PlayerId issue

Basically renamed playerId to peerId, then fixed problems that arose
from that. PeerId and PlayerId now separate concepts.