Index: src/ch/ch.vc140.vcxproj
===================================================================
diff -u -r6609ba39811176f4803f0556db3da30e9e457b9d -r2e4eacb299f21d06196fe13140b4b0d095abdca9
--- src/ch/ch.vc140.vcxproj	(.../ch.vc140.vcxproj)	(revision 6609ba39811176f4803f0556db3da30e9e457b9d)
+++ src/ch/ch.vc140.vcxproj	(.../ch.vc140.vcxproj)	(revision 2e4eacb299f21d06196fe13140b4b0d095abdca9)
@@ -39,53 +39,54 @@
     {4B215B9A-58CA-4987-AC95-7DFC3043E100}
     ch
     MFCProj
+    7.0
   
   
   
     Application
-    v120_xp
+    v141_xp
     Dynamic
     Unicode
   
   
     Application
-    v120_xp
+    v141_xp
     Dynamic
     Unicode
   
   
     Application
-    v120_xp
+    v141_xp
     Dynamic
     Unicode
   
   
     Application
-    v120_xp
+    v141_xp
     Dynamic
     Unicode
   
   
     Application
-    v120_xp
+    v141_xp
     Dynamic
     Unicode
   
   
     Application
-    v120_xp
+    v141_xp
     Dynamic
     Unicode
   
   
     Application
-    v120_xp
+    v141_xp
     Dynamic
     Unicode
   
   
     Application
-    v120_xp
+    v141_xp
     Dynamic
     Unicode
   
@@ -176,6 +177,9 @@
     false
     $(ProjectName)64
   
+  
+    false
+  
   
     
       _DEBUG;%(PreprocessorDefinitions)
@@ -186,7 +190,7 @@
       
     
     
-      /Zm150 %(AdditionalOptions)
+      /Zm150 /Zc:threadSafeInit- %(AdditionalOptions)
       Disabled
       WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_BIND_TO_CURRENT_VCLIBS_VERSION=1;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
       EnableFastChecks
@@ -211,7 +215,6 @@
       Windows
       MachineX86
       "$(OutDir)"
-      true
     
     
   
@@ -226,7 +229,7 @@
       
     
     
-      /Zm150 %(AdditionalOptions)
+      /Zm150 /Zc:threadSafeInit- %(AdditionalOptions)
       Disabled
       ..\..\ext\googletest\googletest\include;..\..\ext\googletest\googlemock\include;%(AdditionalIncludeDirectories)
       WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_BIND_TO_CURRENT_VCLIBS_VERSION=1;_SCL_SECURE_NO_WARNINGS;TESTING;_CONSOLE;%(PreprocessorDefinitions)
@@ -252,7 +255,6 @@
       Console
       MachineX86
       "$(OutDir)"
-      true
     
     
       cd "$(TargetDir)"
@@ -270,7 +272,7 @@
       
     
     
-      /Zm150 %(AdditionalOptions)
+      /Zm150 /Zc:threadSafeInit- %(AdditionalOptions)
       Disabled
       %(AdditionalIncludeDirectories)
       WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_BIND_TO_CURRENT_VCLIBS_VERSION=1;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
@@ -296,7 +298,6 @@
       Windows
       MachineX64
       "$(OutDir)"
-      false
     
     
   
@@ -311,7 +312,7 @@
       
     
     
-      /Zm150 %(AdditionalOptions)
+      /Zm150 /Zc:threadSafeInit- %(AdditionalOptions)
       Disabled
       ..\..\ext\googletest\googletest\include;..\..\ext\googletest\googlemock\include;%(AdditionalIncludeDirectories)
       WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_BIND_TO_CURRENT_VCLIBS_VERSION=1;_SCL_SECURE_NO_WARNINGS;TESTING;_CONSOLE;%(PreprocessorDefinitions)
@@ -337,7 +338,6 @@
       Console
       MachineX64
       "$(OutDir)"
-      false
     
     
       cd "$(TargetDir)"
@@ -355,7 +355,7 @@
       
     
     
-      /Zm150 %(AdditionalOptions)
+      /Zm150 /Zc:threadSafeInit- %(AdditionalOptions)
       MaxSpeed
       AnySuitable
       WIN32;NDEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_BIND_TO_CURRENT_VCLIBS_VERSION=1;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
@@ -367,9 +367,9 @@
       true
       ProgramDatabase
       true
-      NoExtensions
       4714
       true
+      NoExtensions
     
     
       NDEBUG;%(PreprocessorDefinitions)
@@ -381,7 +381,6 @@
       Windows
       MachineX86
       "$(OutDir)"
-      true
     
     
   
@@ -396,7 +395,7 @@
       
     
     
-      /Zm150 %(AdditionalOptions)
+      /Zm150 /Zc:threadSafeInit- %(AdditionalOptions)
       MaxSpeed
       AnySuitable
       ..\..\ext\googletest\googletest\include;..\..\ext\googletest\googlemock\include;%(AdditionalIncludeDirectories)
@@ -423,7 +422,6 @@
       Console
       MachineX86
       "$(OutDir)"
-      true
     
     
       cd "$(TargetDir)"
@@ -441,7 +439,7 @@
       
     
     
-      /Zm150 %(AdditionalOptions)
+      /Zm150 /Zc:threadSafeInit- %(AdditionalOptions)
       Disabled
       AnySuitable
       WIN32;NDEBUG;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_BIND_TO_CURRENT_VCLIBS_VERSION=1;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
@@ -466,7 +464,6 @@
       Windows
       MachineX64
       "$(OutDir)"
-      false
     
     
   
@@ -481,7 +478,7 @@
       
     
     
-      /Zm150 %(AdditionalOptions)
+      /Zm150 /Zc:threadSafeInit- %(AdditionalOptions)
       Disabled
       AnySuitable
       ..\..\ext\googletest\googletest\include;..\..\ext\googletest\googlemock\include;%(AdditionalIncludeDirectories)
@@ -507,7 +504,6 @@
       Console
       MachineX64
       "$(OutDir)"
-      false
     
     
       cd "$(TargetDir)"
@@ -845,47 +841,47 @@
     
       Compiling resources %(FullPath)
       Compiling resources %(FullPath)
-      "$(SolutionDir)\tools\rc2lng.exe" "%(FullPath)" "$(InputDir)scripts\header.lng" "$(IntDir)\chtmp.rc" "$(OutDir)langs\english.lng" "$(InputDir)resource.h" "$(VCInstallDir)atlmfc\include\afxres.h"
-rc.exe /l 0x409 /d "NDEBUG" /d "_AFXDLL" /fo"$(OutDir)\%(Filename).res" "$(IntDir)\chtmp.rc"
+      "$(SolutionDir)tools\rc2lng.exe" "%(FullPath)" "$(InputDir)scripts\header.lng" "$(IntDir)chtmp.rc" "$(OutDir)langs\english.lng" "$(InputDir)resource.h" "$(VCToolsInstallDir)atlmfc\include\afxres.h"
+rc.exe /l 0x409 /d "NDEBUG" /d "_AFXDLL" /fo"$(OutDir)%(Filename).res" "$(IntDir)chtmp.rc"
 
-      "$(SolutionDir)\tools\rc2lng.exe" "%(FullPath)" "$(InputDir)scripts\header.lng" "$(IntDir)\chtmp.rc" "$(OutDir)langs\english.lng" "$(InputDir)resource.h" "$(VCInstallDir)atlmfc\include\afxres.h"
-rc.exe /l 0x409 /d "NDEBUG" /d "_AFXDLL" /fo"$(OutDir)\%(Filename).res" "$(IntDir)\chtmp.rc"
+      "$(SolutionDir)tools\rc2lng.exe" "%(FullPath)" "$(InputDir)scripts\header.lng" "$(IntDir)chtmp.rc" "$(OutDir)langs\english.lng" "$(InputDir)resource.h" "$(VCToolsInstallDir)atlmfc\include\afxres.h"
+rc.exe /l 0x409 /d "NDEBUG" /d "_AFXDLL" /fo"$(OutDir)%(Filename).res" "$(IntDir)chtmp.rc"
 
       res/ch.rc2;version.h
       res/ch.rc2;version.h
       $(OutDir)%(Filename).res;%(Outputs)
       $(OutDir)%(Filename).res;%(Outputs)
       Compiling resources %(FullPath)
       Compiling resources %(FullPath)
-      "$(SolutionDir)\tools\rc2lng.exe" "%(FullPath)" "$(InputDir)scripts\header.lng" "$(IntDir)\chtmp.rc" "$(OutDir)langs\english.lng" "$(InputDir)resource.h" "$(VCInstallDir)atlmfc\include\afxres.h"
-rc.exe /l 0x409 /d "NDEBUG" /d "_AFXDLL" /fo"$(OutDir)\%(Filename).res" "$(IntDir)\chtmp.rc"
+      "$(SolutionDir)tools\rc2lng.exe" "%(FullPath)" "$(InputDir)scripts\header.lng" "$(IntDir)chtmp.rc" "$(OutDir)langs\english.lng" "$(InputDir)resource.h" "$(VCToolsInstallDir)atlmfc\include\afxres.h"
+rc.exe /l 0x409 /d "NDEBUG" /d "_AFXDLL" /fo"$(OutDir)%(Filename).res" "$(IntDir)chtmp.rc"
 
-      "$(SolutionDir)\tools\rc2lng.exe" "%(FullPath)" "$(InputDir)scripts\header.lng" "$(IntDir)\chtmp.rc" "$(OutDir)langs\english.lng" "$(InputDir)resource.h" "$(VCInstallDir)atlmfc\include\afxres.h"
-rc.exe /l 0x409 /d "NDEBUG" /d "_AFXDLL" /fo"$(OutDir)\%(Filename).res" "$(IntDir)\chtmp.rc"
+      "$(SolutionDir)tools\rc2lng.exe" "%(FullPath)" "$(InputDir)scripts\header.lng" "$(IntDir)chtmp.rc" "$(OutDir)langs\english.lng" "$(InputDir)resource.h" "$(VCToolsInstallDir)atlmfc\include\afxres.h"
+rc.exe /l 0x409 /d "NDEBUG" /d "_AFXDLL" /fo"$(OutDir)%(Filename).res" "$(IntDir)chtmp.rc"
 
       res/ch.rc2;version.h
       res/ch.rc2;version.h
       $(OutDir)%(Filename).res;%(Outputs)
       $(OutDir)%(Filename).res;%(Outputs)
       Compiling resources %(FullPath)
       Compiling resources %(FullPath)
-      "$(SolutionDir)\tools\rc2lng.exe" "%(FullPath)" "$(InputDir)scripts\header.lng" "$(IntDir)\chtmp.rc" "$(OutDir)langs\english.lng" "$(InputDir)resource.h" "$(VCInstallDir)atlmfc\include\afxres.h"
-rc.exe /l 0x409 /d "NDEBUG" /d "_AFXDLL" /fo"$(OutDir)\%(Filename).res" "$(IntDir)\chtmp.rc"
+      "$(SolutionDir)tools\rc2lng.exe" "%(FullPath)" "$(InputDir)scripts\header.lng" "$(IntDir)chtmp.rc" "$(OutDir)langs\english.lng" "$(InputDir)resource.h" "$(VCToolsInstallDir)atlmfc\include\afxres.h"
+rc.exe /l 0x409 /d "NDEBUG" /d "_AFXDLL" /fo"$(OutDir)%(Filename).res" "$(IntDir)chtmp.rc"
 
-      "$(SolutionDir)\tools\rc2lng.exe" "%(FullPath)" "$(InputDir)scripts\header.lng" "$(IntDir)\chtmp.rc" "$(OutDir)langs\english.lng" "$(InputDir)resource.h" "$(VCInstallDir)atlmfc\include\afxres.h"
-rc.exe /l 0x409 /d "NDEBUG" /d "_AFXDLL" /fo"$(OutDir)\%(Filename).res" "$(IntDir)\chtmp.rc"
+      "$(SolutionDir)tools\rc2lng.exe" "%(FullPath)" "$(InputDir)scripts\header.lng" "$(IntDir)chtmp.rc" "$(OutDir)langs\english.lng" "$(InputDir)resource.h" "$(VCToolsInstallDir)atlmfc\include\afxres.h"
+rc.exe /l 0x409 /d "NDEBUG" /d "_AFXDLL" /fo"$(OutDir)%(Filename).res" "$(IntDir)chtmp.rc"
 
       res/ch.rc2;version.h
       res/ch.rc2;version.h
       $(OutDir)%(Filename).res;%(Outputs)
       $(OutDir)%(Filename).res;%(Outputs)
       Compiling resources %(FullPath)
       Compiling resources %(FullPath)
-      "$(SolutionDir)\tools\rc2lng.exe" "%(FullPath)" "$(InputDir)scripts\header.lng" "$(IntDir)\chtmp.rc" "$(OutDir)langs\english.lng" "$(InputDir)resource.h" "$(VCInstallDir)atlmfc\include\afxres.h"
-rc.exe /l 0x409 /d "NDEBUG" /d "_AFXDLL" /fo"$(OutDir)\%(Filename).res" "$(IntDir)\chtmp.rc"
+      "$(SolutionDir)tools\rc2lng.exe" "%(FullPath)" "$(InputDir)scripts\header.lng" "$(IntDir)chtmp.rc" "$(OutDir)langs\english.lng" "$(InputDir)resource.h" "$(VCToolsInstallDir)atlmfc\include\afxres.h"
+rc.exe /l 0x409 /d "NDEBUG" /d "_AFXDLL" /fo"$(OutDir)%(Filename).res" "$(IntDir)chtmp.rc"
 
-      "$(SolutionDir)\tools\rc2lng.exe" "%(FullPath)" "$(InputDir)scripts\header.lng" "$(IntDir)\chtmp.rc" "$(OutDir)langs\english.lng" "$(InputDir)resource.h" "$(VCInstallDir)atlmfc\include\afxres.h"
-rc.exe /l 0x409 /d "NDEBUG" /d "_AFXDLL" /fo"$(OutDir)\%(Filename).res" "$(IntDir)\chtmp.rc"
+      "$(SolutionDir)tools\rc2lng.exe" "%(FullPath)" "$(InputDir)scripts\header.lng" "$(IntDir)chtmp.rc" "$(OutDir)langs\english.lng" "$(InputDir)resource.h" "$(VCToolsInstallDir)atlmfc\include\afxres.h"
+rc.exe /l 0x409 /d "NDEBUG" /d "_AFXDLL" /fo"$(OutDir)%(Filename).res" "$(IntDir)chtmp.rc"
 
       res/ch.rc2;version.h
       res/ch.rc2;version.h