Issue edina/fieldtrip-spatial-memories/issues/31: Added checkpopups function taken from gps plugin.