Robustness improvements in smart device driver
Merge branch 'master' of https://github.com/cbhaley/calibre