[win] Fix a memory bug when unsyncing a library.
[win] Fix command handling bug in wt-monitor.
Update msi version to 3.1.1.
[win] Fix command handling bug in wt-monitor.