Added comments for a lot of the GUI sections, and added the code for the rest. Final debugging still to be completed.