Fix a possible deadlock bug.
Stub beginning of unit testing for FosCam Control.