Updated the NuGet dependencies and some small tidy-ups prior to release.