Range code drastically improved, general cleanup, aggregate operations now accept multi-dimension arrays