fix qmime.h warning
reduce the critical sections for _nameMapping, and use iterators.
put an actual warning, maybe MrKepzie will take a closer look at it that way :-)