Fixes to audio system; better error reporting