Max/Min X and Max/Min Y were wrong due to points that were anomalies
that didn't make sense.  Sorted the arrays and used that to determine
the min/max by making sure they are within 10 places to the next one.
minor tweaks and different testing parameters.
fixed name

fixed name of video file.