TILES_MAIN_MAXZOOM setting was renamed to SWITCH_DETAIL_ZOOM (fixes #176)