Added StatHat tracking, fixes #70