Internalized AudioPlayer to FSM

These internals are still referenced by window.AudioPlayer, etc., but
it's a good start.