Modified version of make_exposure which returns a function (untested)
SQL fixes
Appears to be working for HAZUS data
Minor formatting changes and cleanup