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.