Minor fixes, and add isFriend and request parameters to the search
thingy