Improving Cosmological Distance Measurements With Type Ia Supernovae: From Pixels To Dark Energy