Residual properties and the profinite competion of 3-manifold groups.