More tweaks to helper classes, and RangeArray
Part of editor implementation