Updated quadtree generation to actually work. Thanks for the help Aconitin