fix coverage abberations due to contig trimming (thanks to Charlie Xia for the bug report!), fix coverge dropouts due to contigs with gap bases (NNNN), add debug mode