Updated print outs

updated the content of the debug prints, and added support for blank
lines (absolutely blank, no spaces or tabs)