Added validation of settings and editor inputs.