i am much more confident in delete now, but there are problems with most functions not checking for NULL. will have to address this in the splint branch.