Modify EndEdit to use a more descriptive var name

This also makes this function more in line with similar functions in
this file, which prefer the more descriptive `edit` over simply `e`.
Merge pull request #163 from Dparker1990/prefer_description_var_name

Modify EndEdit to use a more descriptive edit var name