Some small improvements

Still have an NPE with PostGIS _st_dumppoints