Use GLib printing and logging.
Abort if more than MAX_ANCHORS coordinates are provided.
Increase maximum number of nodes in range.

The implementation used 90 for the maximum number of nodes in range,
which is too small if more than 10 anchors are provided. We bump
this to MAX_ANCHORS^2, which looks like a reasonable upper bound.
A lower bound is possible and should be determined.
Merge branch 'master' into glib-port

Two error corrections merged from master.
Port the error corrections to glib.