Changes to smoothing size, area threshold, enforce global >0 mask, set physical scale for length threshold.
Updates to run script.