added more unit testing. Much more would be needed. For future the best would be to use test-driven development (TDD). In Recorder unit test there's a mock Camera class which is a start to enable feeding videos frame by frame, which is needed in algorithm testing.
some member name clean-up for MainWindow, Recorder, and ActualDetector