Standardizing gamma-ray burst energies and the promises and limitations of a GRB Hubble diagram for cosmology.