Fix buffer not being NULL terminated (and then being scanf'd) causing bad memory access.
Use 16bit instead of 24bit in hope of better performance.
Fix array overrun (write).
Ensure 4 byte alignment on Pandora (fix SIGBUS on optimized builds).
Allocate extra 16 bytes of memory for huffman decode source buffer as algorithm reads past end of source causing bad memory read.
Fix gl* -> pgl* which allows for static/non static GL binding.