Properly scope GeoFire in header/footer

- Properly scope GeoFire in header/footer
- Fixed “type” criteria issue in examples