Improved comments
Remove DoEvents from progress bar updating

Should improve speed for long functions, as well as prevent some
possible re-entry issues
Move gaussian blurring to an external function

As it is utilized multiple places, this will spare me copying the
function over and over.