Added libjpeg dependency
Lots of improvements/debug
Added libjpeg support, improve histogram and tile generator
Lots of improvements/debug
Added histogram and jpeg tests