Massive improvement for Huffman tables (correct?), minor PNG decoder fixes