going for Header only (also const wait)
refactoring for better code readability
Update README.md

header-only!
generate debug info with clang/g++
synchronize the stop flag to make sure every thread really gets the current value