Centralizing retrieval of settings (removing redundant code) and doing better job of setting required fields/defaults (in case setting is corrupted).