Tweaked a few mechanics. Use weak references for a lot of things
improving memory usage and similar.