imaging8896 commit

solved bug of recovery in normal quit and state deadlock problem
finished watchdog with reset recovery