Fixed a bug that causes the -pharm flag to be ignored.
Cleaned up minor formatting issue when informing the user that a warning log has been opened.