Simplify gpx2spatialite_updatelocs script and minor fixes.