I'm using something similar where each screen output is done via DisplayText() instead of ? DisplayText() has a couple of bit-wise options enabling verbose/warning/error outputs to both a screen and/or separate log file depending on the amont of logging set up. I can thus display only the most important messages (or none at all) to the screen and generate a complete verbose log into a file at the same time.
_________________________
There are two types of vessels, submarines and targets.