Try $main->update; after changing $msg.
In reply to Re: help needed with simple tk interface by keszler in thread help needed with simple tk interface by joybee