Better debug settings and corrected logging
Changed guid to private