Improved audio resource viewer loading efficiency

Audio resources no longer freezes the browser thread when rendering the audio waveform.