last corrections. Should now work correctly. Adapted SpatialiteDatabaseHandler, removed spatialite3 specfic code.