Hi altenbach,
before I go into details just one question: Even if the code is suboptimal and there may be race conditions, why would a simple mouseclick into the front panel (doesn't matter where) make a program continue that had stopped before.
Strange, isn't it?
Cheers
Edgar