Manual testing minor improvements

-Persist sent messages
-Not sending friend event if discovery failed
Fixing race condition