stricter sanity check for BamTools + style fixes