fix data race in SimpleLogger by making state indicator variable atomic
make comparion of loop safe against underflows
use default keyword to get rid of compiler warning of not returning a value in a non-void function
remove superflous include
use auto keyword to make code more legible
collapse if statement in datastore
add some comment to datastore
extractor.cpp refactored a bit