Added -m and minor changes.

Added -m flag, removed unnecessary parameter bIsPM and fixed 'New %s'.
A very minor point, use `"` everywhere for strings. Single quotes are generally used for a single character (C/C++ language specs).