I had a similar issue when running 3.41. With my 2010 screenset, the path generation window would never close, but I could run Mach with it in the background. With the standard screenset, there were no problems. Updating to 3.42.040 got rid of it. I'm thinking that a script I use for my load g-code button was causing it.
Are you using the standard screens?