Last little tidy up before putting in the streaming changes

Signed-off-by: Nick Lambourne <nick.lambourne@gmail.com>
Major update to support processing waveforms inline (instead of in memory)

Signed-off-by: Nick Lambourne <nick.lambourne@gmail.com>