Bug fixes (see ChangeLog), Visual Studios fixes.