Fixes #26 (update to .NET 4.0)

Yup. That were all changes to update it to .NET 4.0. Easy, huh? :D