fix perms
Support interpolating ToneCurves, add some more commandline flags