Tabcontrol behavior extended

Tabs are now activated in a proper manner using the activate method on
TabControl
Closing tabs will move the current active tab to the previous tab if
there are any or to the last one