Added a wait condition object (only for Win32 ATM)
Merge branch 'dev'