Bug fixes + improvements in friends system