Moved some identical server & client entity code into a shared file containing partial classes, and implemented master network table checking.