More node refactor, and store failure in stderr.