Proc threads no longer seem to lock up. Corrected thread condition locks