Modernized project files and fixed new compiler errors and warnings.