I hooked it up, but now the std::mutex is doing something weird.