cache state refresh, bugfixes
Merge branch 'master' of https://github.com/carlsborg/dust