Fix leaks and update core.

SCGradientView: I don’t even know what happened, but it’s fixed now
DESConcreteFriend: forgot to call free() in a short-circuit.
<DESFriend>, DESGroupChat: make connection reference weak
DESCallbacks: forgot to free underlying address after constructing
string
Rough implementation of friend request UI

works both ways now
Multi-window UI.