Audio improvements, exposed audio to scripting layer

This addresses issues #51.