Renamed RGBtone to midValueShift, as well as several of its internal variables.