fix hs close block slowdown and begin transitioning to saner regexes
format
start un-snarling all these regexes
fix library dependencies