applied changes to TaskSettingsForm. reused code from MainForm.
removed unnecessary code that remained after making ImageFileDestination, TextFileDestination not nullable.