merged changes
updated template to include
added e to editCell function
added e to editCell
updated editCell so also checks e.target as well as e.target.parent
many bugs fixed and merged