Catch errors.
Pen up for disconnected paths.