better progress bar
disgustingly complex, but working, way to avoid hard refs from
hierarchy view nodes to model/ast