wav export is now triggered by a single funciton call. Runs in it's own thread. Not tested or hooked into GUI code yet.