Almost completely redo waveform visualisation:
* fix audio data selection, improves frame rate, lowers latency
* implement wave synchronisation, using audio data that resembles previous frame most
* show fps on stderr