Fixed a ton more leaks.
Merged.
Fixed one more leak.