Don't load mode for temporary buffers. This speeds up HyperSearch greatly for the non-wholeWord search case. For the wholeWord case explicitly set the mode in the HyperSearch.
Proposed patch attached.
Some minor bug fix for the Mode.setProperties()
Looks like you forgot to close this ticket after you committed it to 5.1pre1