Update thx.php

Put counter and some things appart to new improvements.