Changed the way erase works - added undo and redo functionality!!!!