Clean up a metric shit-load of legacy cruft in preparation for splitting
the wave editor out from the DAW formerly known as PyDAW...