Yeah, I wouldn't look too far or hard on anything about refactoring. All it means is to rewrite your code. That's all it it. Hopefully the rewrite is...
Also part of the problem is this, "The problem is that it's possible for a user to abort and restart the process while the display thread is part way...