Use full names for variables

Use full names for variables everywhere for better readability.

No functional change.
Here is better th instead of t (but not thread)