EngJohn would be the best person to talk to on this matter - he helped me greatly with the very same problem.
It runs to the effect of adding the line: system ("cls") into the code, but I'm not sure if that's all. It seems like there's more
I'll dig around and try to find the info that he gave me, if I still have it. (which I hope I do).