Text this: Generalized Optimal Threshold Factors and Structure-Preserving Exponential Integrators