Minor improvements to printing module
Removed debug message