waveform.js: preserve the stroke after everything is drawn
waveform.js: make the loggin a little less ugly