Fixed issue where sampled waves got saved with repeats of the same sample in some cases.  E.g. instead of getting a 20 kHz ADC signal, in some cases you would get a nominally 40 kHz signal, but with each 20 kHz sample repeated twice.  Wasteful, but not a disaster.