Why is my Arduino Uno/Ethernet shield webserver generating gibberish?

All I did was comment out all the lines containing html. After reading up I think I'm going to try to build a webserver from scratch with a bit more control of the buffers on the ethernet chipset and then integrate it. Thanks,

David