bc0128ab88
* be careful resetting sync_head make sure we have the header corresponding to header_head and that nothing is corrupted from an earlier shutdown * add logging when resetting heads due to missing header