Audio object failed to play when azimuth and elevation == 0. Due to uninitialized prevAzimuths and prevElevations. Working now.
more misc code cleanup, does not seem to support > 1 audio object