Make mute button work (fixes #38).

This makes the mute button actually toggle sounds.