GUI: don't print the same error message n times when running simulation in n threads