Rather than explain this, look at this comm center thread by Rob Hawley. I sent him a tect executable build with the waits in it and it fixed the problem he was having.
Hawley reports success. No further problems.