warning clean up, and script interface added to query for tile properties