Use None vs nonexistent variable to prevent NameErrors.  Fixes #39.
Add a local settings.