fixed tons of little bugs. reinstated d flag. added concurrent cache
removed tbb
fixed cache keys by starting with 1 and changing to long long unsigned
merged