Updated BAM metrics and QC report code to not crash when aligned as single-end reads. Also corrected code that prevented report pages from being written.