Altered instantiation scheme of main GUI.