Dynamical and thermal aspects of relativistic heavy-ion collisions