Fix syntax error and add reporting for setting of title.