Tabset refactoring. More cleanest code.