Add basic stable quadtree implementation and collision events.