Fixed friends list being duplicated. The button listener was never beign destroyed when the panel was destroyed. Also cleaned up some of the friend dialog