Fixed large flaw in landscape exploration that regarded root tree as a new tree when checking for existence of tree in space. Database code fixes; added explore flag to database.