Made some busy waiting less busy.
Added createAudioOutputThread to the headers
Example of asynchronous audio.