Added file output.  Rainmeter hangs on slow commands or slow IO.
Code itself a mess.  Need to upgrade VS to try async.