Fix major bug causing document render agent to not exit on PDF creation failure and implement CRC checking in document daemon