Updated server image processing

Added Gaussian histogram redistribution, temp. diabled
Hist. redist. needs work: defects are added to images which do not need correction
Bad images are corrected properly