Misc. typos, optim. or fixes

`+` KISS password generation
> php he will try to check **both** statements

SURE NOT ! or Zillions of lines of codes would be instantly broken, worldwide ;))

**PHP logical operators are short-circuit !**

see e.g. http://php.net/manual/en/language.operators.logical.php#example-140