in reply to running a loop in background...

Tk has an idle function you can use. I don't remember what it's called.