fixed typos
closed possible memory leak
removed ul tags
proper (null) handling
administration cgi without POST handling