Replace deprecated wfMsg and wfEmptyMsg functions.

Replaced the deprecated wfMsg and wfEmptyMsg functions with wfMessage.
Merge pull request #5 from wmat/master

Replace deprecated wfMsg and wfEmptyMsg functions.