Contacts window updates

The contacts window now supports the deletion and proper syncing of contacts on logout and close.