Fix exposure stacking issue. Flush DMA buffer. Add Gain options.