Add quadtrees, collision detection, gravity, pausing and hiding.