added the concept of an edit-loop for timed edits
code clean up and moving to use edit-loop