Let material probing to access per-thread table

It is up to material (and pawn) table look up
code to know where the per-thread tables are,
so chaneg API to reflect this.

Also some comment fixing while there

No functional change.