Fix for issue 674

By poking around a bit, the NSEnumerationConcurrent flag was causing bad index issues when removing objects from genericDesktopElements. I'm not sure this is the best way to fix the issue not being that familiar with the codebase, but it does stop the crashing.