update to multiplayer code

(old code is in the MPG-master.zip file)