Added borders to the table and the tabs. Also fixed the first tab rectangle bug