extend qw clauses
add more complex language guessing procedure to qw
add last chat message storage and retrieval
fix last_message for multiple chats