Added some extra comments and debug messages for serverId to main and spawn