Bug fixes for support cout and cost in PDF report.