Remove MainWindow from TabView.cpp