Fixed debug messages (using the built in logger), fixed db table creations missing unread column