Several improvements to plotting scripts and report generation to support PDF output.