Modified the GUI interface to use QTabWidgets