I've been looking at the tests in the source distribution to get some more ideas on how things fit together. BUT, I still can't figure out how to use the threaded mainloop. There are some examples of using bits of it, but at the moment I can't see how to put them together in a coherent way. PeterO