Change to .NET 4 and change stream to ThreadLocal<Stream>
Try opening existing MMF before creating
Update NuGet packages to use net40 versions
Fixes after rebase
More fixes after rebase