fix segfault when no account
bind GUI status/avatar/login to Protocol
hide add contact dialog after clicked on OK