add transition caching with pref, rev read frame caching, cache lock tweaks, fix...