Added complete sanitisation of all settings.