Fixed split to update anchors properly.
Fixed merge issues with directory handling.
Fixed issue in merge with silent exit on referenceless files