Allow XForm title to be set

duplicate above, line 126, maybe use a compiled regex or something