Document the audio thread, fix a possible threading crash.