Updated Logging

Main fetchUserInput updated  to read line, instead of word.

Main error handling updated to reflect new changes.

Main updated to handle minor error catching

term setLogMsg created to handle all non-error messages, and logs them
to file.

term setErrMsg created to handle error messages, and log to file.

http://recursivechaos.com/blog/updated-logging/