fixes and modifications

1) clear statistics at the beginning
2) code for 吠 was wrong
3) maintain DOM pointers