CacheStore: major bug fixed
Block: some modifications, period cache used now