Make search suggestions more compact

Also replaces couple of hardcoded values with less variables.
Closes #47.