added simple chat save/restore