Changed bool to atomic<bool>.
Reverted atomic bool to bool.
Removed unnecessary using declarations.
Changed license from Boost to BSD (three-clause).

The Boost license technically requires me to add the copyright notice to each
source file, which I really do not want to do. The closest alternative I could
find to the Boost license is the BSD license.
Removed unnecessary check.
Fixed conflicts.