ARC: minor correction in error message.

Signed-off-by: bert <bert.timmerman@xs4all.nl>
POLYLINE: check for NULL pointers and do basic checks.

Signed-off-by: bert <bert.timmerman@xs4all.nl>