[Contact] [Roster] Add comments.
[Dialog] Add comments.
Beautify code.
[History] Add comment