Added bit mask to byte_aligned sync check.
Improved byte_aligned logging.