Added rudimentary tabs

The tab system is up and running, functionality is clunky and limited
for the moment.