Switched to .NET 4.0 & update dependencies