Various bug fixes and CSS

Fixed the search css, and some bugs