Use std::unordered_multimaps in a few places.
Warning fixes.