Added search-as-you-type and fixed some bugs with the category drop down