Add search button. Remove some warnings. Fix minimum search length.