Fixed problem with path segment markers hanging around.