It looks at it was sufficient to solve the problem.
Im not sure if the thread is alive after it has finished
the StartProcessing sub however..I have tried to $mythread->detach; but it gives me a the error:
"Attempt to free non-existent shared string '_TK_RESULT_', Perl interpreter: 0x1f28444 at C:/Perl/site/lib/Tk/Widget.pm line 98 during global destruction. Free to wrong pool 1f273d8 not 223f90 at C:/Perl/site/lib/Tk/Widget.pm line 98 during global destruction. "