Fied rare crash with tox_delfriend. It is now thread-safe (by restarting thread). Also changed the way view controllers communicate with delegate, no more notification center for delfriend at least. I plan to change the other methods to that.