implemented issue #7: output stdout and stderr to a log file; removed output redirection to win32 console, which was buggy