Converted everything to .NET 4.0. It builds and runs, but runtime
functionality untested.