- Fix PyInteractiveHistory crash
- Fix exit issue