update gitignore to exclude logging files
add tests for camera validation when use = 0

If the camera should be skipped, it need not be valid.
fix bug with enforcing validity of unused camers