I've updated the script in the first post to optionally not perform the min/max matching like in the early version of the script that You_Too posted.
snicker,
we need to try to port your clipping removal to Avisynth. Any chance you could provide a tutorial on how you do it? I know you did already in another thread, but I can't seem to find it, and I remember not quite being able to follow it previously. Any chance you could take another stab at explaining it to us?
-G