Splitting main window to 4 parts.