GUIs

Made some changes to the GUIS: made sure they were all Dialogs, added
the dispose functions, and modified some of the code to get rid of
superfluous stuff