The frustum culling now uses a quadtree, refactored some code.