Working tabs

Tabs are finally working.