Added settings control, and implemented it for audio.