Fixing a few places where setting the type of an AST node was missed.  Adding string print output to the DebugPrintVisitor.