I added formatted_page() function to print out a valid XHTML document of the CSS output (also added write files to class.csstidy.php to optionally write whole files of these too).
In order to allow templates to use without appearing in plain format, I replace them in plain format.