Curde support for metadata import

I tried to guess how the editor internals should work, but
I might not have it all right.
Loading should be done in the background,
but currently isn't.
Ha! I was wondering about that yesterday but since `showDirectoryChooser()` had it the other way I thought that you guys know what you are doing. :-P