Functoriality and the Moduli of Sections, With Applications to Quasimaps