Fixed an error that didn't updated the list of msgs when replacing mesgs in a thread object
Implemented the filter for the year in msgs.