Added some ui's and data processing functions for tabWidget. Will be renaming tabWidget.