Move the final output to stdout, and add some labels

Now the useful output is all on stdout, and stderr only has debugging
stuff. I really should remove some of that - or at least only print it
in a 'verbose' mode.