Squash final bugs preventing running simulation

At least a region level simulation. This implements/fixes
various configure/log_debug problems, and now the
example/region_stochastic.py script runs like a charm.