Made new-variable form work (and not allow empty names).
Server-side validation of empty new var details and naive search for existing variables.