fix up hal2chain.  now usable but could use more testing
Merge branch 'chains' of github.com:glennhickey/hal into chains