WindowClosing no longer shuts down DynamoModel in test mode
Merge pull request #2575 from Benglin/BuildFix

Fix various failures in recorded test cases