NodePseudoCode update w/error checking

A little more error checking