Some thread synchronization was added.
Some new logic was added to Proxy.PWf test app.