Code for debugging memory leaks
Encode outputs and hide more
More verbose logging