More work on the tab control.