Add log.
Remove some creepy code
Enable MS leak detection.
BugFix: These logs crash when NULL