Introducing a common base class for Task* classes.
Move set_taskbar_state into Taskbar.