The 1M resistor isn't connected to ground. Its purpose is to feed current from the joint of the two 10k trimmers to the input for offset nulling at the output. The 1uF cap filters out contaminants(if present) to ground.