Added editlistingproc to deal with the logic behind actually editting a listing.