postgis source editor cleanup