Switched out Tracelib to use a singleton combined with std::call_once