Modified project, getting webcam img works now and exits cleanly