Fix uninitialized values; enable passing -params with comma (e.g.
quantization scheme for color histogram)