This patch ports minesweeper to GML compilation, and introduces a few changes made to associated files.