More work on friend notifications, beginning of message tab and chat history.