I've posted version 2.0. Please report bugs.
Please report lack of bugs (or bugs) if you try this with Calibre 4.
I wasn't able to improve the error handling as much as I'd like, but it's as far as I can go with this plugin. I may fix the error handling bugs with the wikidata_gui plugin and then backport any improvements to this plugin.