Recovery: fixed circular references in dc recovery. Fixed static analysis and memory profiler warnings.