Misc. typos, optim. or fixes

`+` KISS password generation
spotted as `Useless statement` by code sniffers/chekers