Restructured the Document GUI so that it is laid out better