calibre: version bumped to 1.40.0.