Better ROI detection, experimental thresholding, minor fixes.
deleted debug files