- document that a list item cannot be NULL
- added several checks to detect NULL items