added comments to GUI