first pass at tightening up waveform drawing algorithm to generally round down when...