Made DR logging conditional, as well as added a DR packet counter for diagnostic purposes.