Possibly take Thread::Exit out of the loop

more extensive test-suite

examples
