refactored info messages to debug to suppess too many log statements; added total message count to reader and writer