again, i agree that my question was probably not accurate enough. the best way to describe my problem would be a DFD, but oh well...
the thread thing will probably help me. the problem i have with sleep (Win32::sleep, usleep, etc) is that it blocks other interaction with eg checkbuttons, scales etc in the MainLoop()
thanks, b.