Added simple debug function. Writes out a var_dump in a <PRE> tag.