#24: Implemented list_unref_elements().
#24: Make stack_element_unref() handle lists.