fixes unread count and removes gaussian lib dependancy