Missing Defaults Fix

Corrected a bug where certain default values weren't being added to the
DB or config file. Also corrected a long-standing bug where the field
debug_email was created as an integer, rather than as text.