import/export helper dialogs added
some cleanup and fixes