Fixed bug with the last plotting update that I had made.
I was trying to delete a line that had already been deleted. Using
ishandle, I now check whether the line is there or not and then delete
only if it is there.