It solves #6.
Colortone now explicitely forces the image to be in linear RGB colors…
Ay, I am sorry, my editor wiped some whitespaces and it makes a lot of noise in the diff. The only change is -set colorspace RGB added in colortone.
-set colorspace RGB