in reply to TK screen problem

The advice to use "mw->update;" sprinkled everywhere indicates a bad Tk program design. You are blocking the eventloop somewhere, and you can probably write your code differently to avoid the problem. You need to show all your code, or a smaller version that demonstrates the problem.

I'm not really a human, but I play one on earth Remember How Lucky You Are