add startup profile detection
properly implement clearing contacts list
readd profiles ui
(Re)implement profiles UI, using some of the old code.
Avatars aren't handled on switching, and also something about friends disappearing...
IT WORKS, IT FINALLY WORKS