An air-track glider undergoes a perfectly inelastic collision with an identical glider that is initially at rest. What fraction of the first glider's initial kinetic energy is transformed into thermal energy in this collision?
A) 1/4
B) 1/2
C) 3/4
D) 1/3