small changes
imporved performance of converting to cairo surface by a few 100 milliseconds depending on image size
removed a few sample pictures
use shared_ptr for quantization and huffman tables
added a comment
tested shared_ptr in huffmantree, but removed it as it significantly decreases the performance