Improved graphing output, html DOCTYPE