Fixed the audio concurrency, threads are handled properly now and several other minor fixes