Added conflict checking (when two people try to edit the same thing at the same time), initially for templates, forms and membership records.