Project compiles again, although there are many warnings.