[TS] Fix Some array leaks, mark others, treat < 10 leaks as "okay"