Fixed environment detection (changed domain name retrieval method)
Changed mechanism for per-domain nav and breadcrumb for an automatic approach