Updated the output file format. Reorganized the GUI.