More type checking of config values
Add onload error checking for translations/config