Add check to ensure typehead hasn't ben destroyed before rendering suggestions. Fixes 218.
Merge pull request #316 from jharding/218-destroy-null-pointer

Ensure typehead hasn't ben destroyed before rendering suggestions