Refactor into new audio buffer.
Removed (buggy) threading audio functionality.