Better error message when no file to import is selected.
A lot of stuff.