Chat history works on main window and other bug fixes

- bug where small chat history only updates texts from user still exists