Updated the fatal function used in MQM
Code cleaning mqmscan.cpp