- Possible fix for #1769
- Fixed all possible (even unexpected) crashes when AI looses active hero