Log heading in per-frame info text.
Whitespace removed.
Decompose gravity into rotations around Z and X axis: avoids any rotation around Y axis.