Refactor into new audio buffer.
Removed (buggy) threading audio functionality.
Merge remote-tracking branch 'origin/master' into unstable