Finally have everything working. Still working on the GC loop bug
though.