Close file PrintStreams after writing report
Change wording of HTML report link
Collapse duplicate div
Remove trailing whitespace