Fix cursor leak in avatar hash checking
Utilities to check for Cursor leaks
Defend against possible Cursor leaks
Merge pull request #272 from devrandom/leaks

Leaks