wifi web server that doesn't slow down a robot?

For a quick experiment, as I have little time today, I changed the millis timer interval for the ping to 10000. That's ten seconds. Now, the server loop runs for a full ten seconds before anything is reported back from the timers. Still no connection. Either I botched something in my code transplant from a working version to this version, or the ethernet library is somehow incompatible with the newping library or servo library.

The ping data reports correctly out the serial port, so I know that it is running fine. The servo functions work properly as well. But the webserver using the ethernet library does not work.

Some info on the hardware:

Mega 2560 R3
W5100 ethernet shield connected to a Linksys WRT54GL router that has been set up as a client bridge to my home wifi.
The sensors are SR04 sonar sensors, three of them. They are connected to the mega as follows:
40,41 for centre sensor
42,43 for left sensor
44,45 for right sensor, trigger and echo pins respectively.

Server plus one ping sensor has been tested using the newping library to be successful. 29ms millis timer on the ping.

Robot decision making software (really just some if then else and case) test perfectly with the 3 sensors and newping library and servo library.

All combined works together, except the webserver doesn't connect to the client, even with a 10 second delay in the millis count for ping data gather.