Added method to change gap between mines and other minor changes.