Making the project compatible with .NET 4.0 and Visual Studio 2010

There's a couple lines here that restrict using prior versions of .NET - this should take care of them and allow much better back-compatibility.