Fixes NPE(system messages have null UID)
Adds message caching to ChatSession.
Adds last message correction for sent messages(click to correct).