Add better error reporting.
Turn the time report back into XHTML for the PDF renderer. For now.