reduced # of SQL queries in API; added ability to attach/detach tabular data records to markers.