Fixed initialization and usage of queue max message. Removed _maxMsg because there was already a mMaxMsg member for that.