Incorrectly flagged, more decoupling, simplifying

Added another feature: when a game is lost and a mine is incorrectly
flagged, an X shows on top of the flag.

Simplified several parts of the code.

Further decoupling.