minor cleanings and optimizations
Merge branch 'master' of https://github.com/xant/libshardcache