Removed debug output
Trying to fix condition_variable hangs
Replaced a few uses of shared_future as compiler workarounds