small changes in the evaluation loop
Important fixes concerning the chat system