Implemented dynamic black-white threshold adjustment based on the complexity / noise level detected by using Sobel as a poor man's Salience algorithm. This improves Adept's effiency greatly on images with more complex contents, grainy textures and lots of other things that make up an image with a high noise level. The lenna.jpg test image compresses more than 3% better now.