debug to stderr instead of stdout

This one I don't care about as much. I don't have a good feel for the difference between the debug log and the error log. Maybe this one should stay stdout.