Closes the command history log file opened by LOGFILEON.
The program stops recording the text window contents and closes the log file.
Each drawing saves a log file (with the extension .log) that may need periodic deletion as the number of log files continues to grow.