Added undo feature.  Error when deleting all of the lines