Allow viewing and canceling imports in progress

I'm not sure.  Experimentally this seems to be fine, I haven't seen any warnings about unpickleable values.