Added comments explaining GUI stuff