GRBs as Probes of Massive Stars Near and Far