Restyled main window to use grids and splitters