I fixed some errors and added layerbrightness, layercontrast, layerhue and layersaturations options to control scaler parameters.

All options after --skip-version-check were ignored
Fixed segfault on EDED mode