New GUI functions + chat history