Improve TabList class

And fix constructor.