Fixed error with format string causing crash.
Added option to "grep" messages.