Init commit of key-exchange settings, fix icon changing to connected state in chatwindow