bugfixes, version bump to 0.7.17
expire ctree cache entries in two passes, version bump to 0.7.18