panel: Change task appearance when active window changed

We simply set the togglebutton to active or inactive depending on whether
it matches the currently active window. In the future we'll render our
buttons differently to normal buttons, to make it clear which is active,
by an underline highlight section.