added final touches to blurring code, in a perfect world this will compile and run correctly.