Firmware: Fixed buffer iterator problem that was causing massive
distortion
UI: More reliable waveform dumps