Made the log go to the home folder.
Made the logging stuff work a little better.
Improved the log messages.