trying to fix duplicated notes, fixing unread message issue that cropped up with new sortting, better sorting on threads, removing code that sent notifications from the app