add command to list pending friend requests, a few related fixes