initial wpf caching working, no timestamps yet. commented more code