Added sleeping
Merge branch 'winmaster'