Make balance control work

Using code by @lostsource, we've implemented support for the balance control.

Fixes #13