Different thresholds of Wnt-Frizzled 7 signaling coordinate proliferation, morphogenesis and fate of endoderm progenitor cells.