Friendlist fixes

I've fixed two bugs in the friendlist:
- #160
- the profile image could be displayed stretched (if the profile image is not quadratic)