Fixed segfault when removing friend, minor UI changes