little improvment of the managment of the import window, the import operation is called by the import dialog, not in the mainwindow.