Added a refresh of offset array in chatlog, should fix #2