readd pause
Add comments
Merge branch 'pause'
Initialize paused variable and use condition_variable_any to workaround bug in clang 3.4