Hopf algebra, thermodynamics and entanglement in quantum field theory. In Quantum Limits to the Second Law