checkpoint on aref refactoring
finished big L3 refactoring.

 most of it was around array references, but i went ahead and did a bunch of other little refactorings while i was in there.