sync up after 2/17 session

Added hooks for "stand your ground" feature, added premature IR detection recovery and premature light detection recovery