AVALANCHE: Add comments in Graphics and Trip, repair functions in Trip.