Updated MineSweeper example with proper GUI