[#11] Optimization for "sparse" cross references with fixed subscripts; more
- Allow XREFDATA() to be called as a subroutine, not just a function
- Add "BATCH" as transaction id in xrefdata() as it needs Atomicity, Consistency and Isolation, but not Durability
- Other minor tweaks