appended D: to some of the listings, and added checks for making sure nil objects are not inserted in the dictionary