Fixed various issues with social friend functionality.