Implemented Export and Import features, all dialogs now use new SimpleDialog base, various other changes