Added -m and minor changes.

Added -m flag, removed unnecessary parameter bIsPM and fixed 'New %s'.
Oops yes.. forgot to delete it..