Chats list improvement

Chats list now handles account ID. Improved closing chats. Removing
account closes all the chats related to it. Some minor improvements in
management itself. It's almost perfect ^^