r444: more debugging output in CIGAR generation

Also found a potential issue which should not affect accuracy but may hurt
speed. Will investigate later.
r445: unnecessarily large bandwidth in global
Merge branch 'master' into mem