Search functionality tested

Added some quick fixes.

Left to complete:
1) Hints and autocomplete system.
2) Refactoring for the entire system.
3) Done function. (I totally forgot.)