Switched to smart pointers as i'm too lazy to do a quadtree traversal for deletion.  Fixed a couple of bugs found by unit testing.  Tree currently appears to be working correctly.