Abstract the map book detection into its own function, which also allows us to get the mapname without loading the whole map, or even allocating Tile objects.