in reply to what is busy(0)

It would be helpful to know what kind of object $guiMainis.

I'm inclined to believe there are at least two, and probably more, modules which are designed to facilitate GUI stuff. Knowing which module(s) you are using helps narrow the list of what needs to be researched in order to find your busy()method.

++toolic: Beat me to the post, and did the research.