added more element support in display; began cleanup of resourceRelation