Cosmetic updates; working on function to delete duplicate tags.