Thermo-Inelasticity and Damage: Coupling of Damage and Internal Friction