* Removed potential bug from Add Unit action's updating.
* Removed unnecessary calls to Init before some edit data structure assignments.
* Made user-defined category get selected by default when adding a new snippet.
* Replaced some validation code with calls of new or revised methods in TSnippetsValidator.