Text this: Massive quark self-energy in cavity QCD