Schedule a callback to be made when the Tcl event loop goes idle. http://www.tcl.tk/man/tcl8.6/TclLib/DoWhenIdle.htm