Re-implemented all the insert-remove functions of the dvp-tree to avoid top-level node removal. It seems to work bug-free now.