Remove extraneous variable from RecorderUI.
Change appendImage to take a const reference.

No need to take a non-const reference, allows further optimization.
The record button now actually records.

Outputs to the file named in the text box, or "output.avi" if nothing is
specified therein.