Fixed bug with search dropdown menu, and fixed some other bugs.