Fixed some output issues with NULCONSTRUCT and some string strippings for STDERR and STDOUT (strips trailing white spaces, newlines, and bsh %).

Will need to remove excess print statements once complete.

SFH