general cleanup writing piware section of report. Not SPECIFIC to report
finished non-specific cleanup before writing piware section of report