Implemented ability set prepare import function

Implemented ability set prepare import function. This function called in
main thread for choose some import setting (e. g. source files). Dialogs
and other widgets can be created only in main thread.