Fixed layout for main and, coloured all panels and fixed their vertical layout.