cleaned up search UI and functionality bugs