Threaded pre-cached sample detector works, runs at sensor rate on full DSLR img

Some fairly major rejiggering in this node to get everything running for
pre-cached sample detection at a distance. I need to do a clean up pass
and break some more things out as parameters.