style improvements. automatically mark messages as read.