added blurGaussian(2) to processSpace() to eliminate diagonal artifacts(?). Added if/elseto peaksumsToFile for count==0 to prevent NaN output