fix the invalid thread access, add a message in the progress monitor dialog