Remember active tab

We store the tab name of the last selected tab.

When a new runner comes online we check whether it's name is the
name of the last selected tab, and if so we set the selected tab
to be that name.

Fixes #147