Got the main window tabs working