fix a bunch of audio problems I introduced with my other attempt at audio fix