What is happening in your scripts? I suspect you might have some heavy CPU processing going on.

If you invoke wait(0), you can force the GUI to refresh. Try it.
https://zorro-project.com/manual/en/sleep.htm