Add debug info to the layout.
Fix footer width anomaly.