Fixed a bug where removing from the root of the quadtree would generate a stack overflow exception.
Fixed a bug where undoing all the actions and then performing one would cause a null reference exception.