Replace herd with packed.
Add extra guard for undefined address2.
code clean
Fix bug where 12am close time would not increment to next day.
Switch Herd to Packed.