Added rotating log file handlers

When the log file is greater than 10k, a new one is created and up to
five previous ones are backed up with extensions .1, .2, etc. The Show
Log dialog will allow backup logs to be selected.