Corrected and amplified comments.
Enhance printed output and error detection.