formatting: fix variable names to follow convention
improve debug output of bam_header_info
fix typo