Reformatted code, removed commented code not used in final version.
Changed GUI formatting.