Write contents of "Log" window into textfile.

Users seem to be unable to do this on their own. Sigh.