asynchronity with import calls are handled

* import on second data (if any) is called before the import on first data, such that the additional information from the second data item can be added in the corresponding fields with the first data
* corrected the regular expression in the end
* rename some variables
* deleted to lines which are not any more needed
* spacing and indents with tab