scanner: fixed unquantise of blanked pixels
tests: first version of algtest

useful for close examination of the scanner algorithm
algtest: allow selecting a directory
scanner: save more intermediate images
imageutil: allow for larger header sizes