fix rename.sh regression.
reorganize preliminary headers; add Range template; sue for_val, for_ref.
test.py now supports compiler, interpreter var expansions.
Array is now a class, hides members.