Text this: Dynamics of entanglement and quantum discord in the Tavis-Cummings model