Fix ambiguous LogMT inheritance using a protected constructor.
Implement cleaner fix to LogMT issue using virtual inheritance.
Fix queue issues with g++ by disambiguating std::queue.