It would help if you showed us some code which can reproduce your problem. See How do I post a question effectively?
In reply to Re: GUI Exiting by marto in thread GUI Exiting by vr786