No longer crashes with missing logger module,
changed boost thread to std thread
small fixes