Written more verbose comments.
Also added a timer when the user is typing, so we only
search local results when they have stopped.