Throttling number of calls to PeekMessages and SwitchToThread.
Customizations to .gitignore and minor unnecessary updates to project files.