Finished the basic editing handling.