Added locks around manipulation of newPlayer.