Added Logger for easier (single point) control of debug output.

Fixed odd position for linebreak in CheckForModules