made fprintf log to stderr

Made all fprintf's output to stderr so that you can easily slice a file to stdout and capture the output or push it to a pipe.  This is all for a revamp I'm doing of the unittests