General cleanup.
Add preliminary libao support.