Tabset refactoring. Fix #1.