I worked with fixing the issues you raised with my previous patch ID: 3176420 . I have fixed the following issues with that patch.
Replaced the <? tags by <? php tags,
Fixed the "space before tab in indent" issues and check by apply the patch. Now no such issues are shown.
Also works under ajax disabled settings.
I upload the parch file in to the same pace with the id ID: 3176420 . Please can you check that and comment on it. I will add the "Hide search results" and "Show search resultsfeatures you suggested as soon as possible.Thank you.