improved search algorithm

Changes

- Now shows only starting 50 matches.
- database index set (using range) for faster search.
- loader-spinner relocated.