add initial OS signal handling in NewtonCam application