Found and fixed a really really stupid performance sapping bug.
Basically, the function which formats bit-arrays for human consumption
was being called for every character of every string encoded in the
huffman encoder. It wasn't even displayed, so this was worse than useless.
Also fixed a formatting bug.