Add splitter to MainWindow.