Fix a bunch of minor style issues in waveform/.