Revert "Make graph.cgi more structured and less error-prone"
Revert "Make graph.cgi more structured and less error-prone"

This commit committed an old version of graph.cgi rather than the new
re-written version. Reverting pending a re-attempt that the commit.

This reverts commit 175.

marineam/nagcat,marineam/nagcat,marineam/nagcat