Concurrent mod fix

This addresses the concurrent modification error that I saw when ending the game. See comments on PR #1