Add contacts and user messages
Fix a bug in text edit
Improve text file encoding identify