fixed typos, replaced wfMsg() and wfMsgExt() with wfMessage(), added new lines at the EOF