Rewrote player registration.
Two joins at the same time for the same player ID are now properly handled.