Added graph tabs to MainWindow and a class for it.