>The problem is a form appears showing the progress of the files transfer but when it's finished the form won't clear from the screen and I end up having to do a Ctrl + Alt + Del
Maybe something in the memory gets accumulated or whatever. There was a thread recently about ways to check memory before the execution of a command and compare it after. You might want to take a look at it. Maybe you'll find something interesting in there.