Fix global leaks & bad script catch
1.5.2