Fixed bugs around splitting and moving the middle node up. Splitting a leaf root should now work correctly.