Refactored Header and fixed some css errors causing weird side effects.
Also changed the way we pass HeaderFooter data to the Master (using a
Map now instead of just string).