Sanitization of settings values

SETTINGS from misc.settings is often referenced without proper sanitization. Numeric value sanitization is performed, but no type sanitization (e.g. None, or str instead of float).