I don't run Kcam, you could try this while you try to open a file.
1) Ctrl + Alt + Delete
When the "Windows Task Manager" opens click on the "Applications" tab & make sure that "Status" (top right side of the screen) reads "Running".
It'll save you at the very least, 29.5 minutes.
How large is the g-code file?
.