Fixing 20% of my memory leaks, but still need to find the rest. Thanks to @theromit for pushing me on this.
Major fix to memory leaks. Hurray this is 99% of all leaks.
One last (small) memory leak.