Typos
Only highlight in visible boxes
Keep local variables

Provides a nice speedup.
Increase search result limit

With the improved code we can handle more results without interactivity
problems.