Text this: Improved Decoy-State Measurement-Device-Independent Quantum Key Distribution With Imperfect Source Encoding