Re-added the lock as a class variable (isGameOver) could potentially have been changed by more than one thread at a time. Fixed the black line detection for the mineGrid corner position, and it now works in Windows 8 as a result.