Fix addon with respect to latest anki version

Also marginally better exception handling

Fixes #27