Text this: Grain-boundary physics in polycrystalline photovoltaic materials