[Bug 8110] Pyscripter crashes on exit