implemented autocompleting search box (fixes #1)