Adds Gauges code to layout.