Add settings dialog to user interface.
Do not write image in case of empty resultFile parameter.
Add new test case.