BUG:  don't try to fix things that ain't broken.. or not. My try for a fix ended up making the PrintAndLog function stop working.  Just by calling a fclose..  fixed.