Another improvement would be to auto clear adjacent squares when marking a mine.
If I marked as mine, and it is surrounded by the number 1, I would like all squares that neighbors those to be cleared automatically.
It could be triggered by double clicking the flag.