Ensured improved foliage updates correctly

Also added method to load a simple quadtree from a file