Third Commit

Bug fixes - the search button, dismissing view controllers.