New min search length and various other middling fixes