Fixed some warnings.
Fixed a crash that could occur if you are authenticated but have no friends.