Updated all projects to known working versions

Improved the error checking of the programs.