Cleaned up cache and closed typeahead dropdown on rightclick
Refactored the typeahead dropdown CS