Two temporal functions of Glass: Ommatidium patterning and photoreceptor differentiation.