fix a recover issue
fix recover issues
fix issue related with detached header
support recovery when error happens after cc to gcc finishes
abort rebase in gmerge if rebase fe fails to leave a clean branch for next round