Made some changes, but the program keeps exiting 1.
Taking it from the top
The project seems to be working without the command line arguments.

Next, the command line arguments and the camera issues need to be
addressed.