Removed some debug code, made special AnyUniquePtr class for MpiMessage.