Sprinkle more const and add more comments.
Sprinkle more const and add more comments.

mstange/cleopatra,devtools-html/perf.html,squarewave/bhr.html,mstange/cleopatra,devtools-html/perf.html,squarewave/bhr.html