Text this: Loss shaping enhances exact gradient learning with Eventprop in spiking neural networks