New Config Dialog, bugs

Unstable 2.0 is still largely inoperative, but it now closes properly.
Config dialog box added.