Cleaned up debug & logger a little.
Merge pull request #193 from phuu/logger-cleanup

Cleaned up debug & logger a little.