Skips equal keys while computing diffs. Fixed errors&warnings.