major restructuring

greatly simplifying how notifications are sorted when setting as
(un)read. now maintain two separate lists for read and unread
notifications.