in reply to Tk problem: keep sober while in callback

during your lengthy calculations call sometimes
$widget->update;
that's all.