Better error handling in decoder
Tweaks to audio parameters.