why was i not commenting?  also adjustments for easier changes to median filter size