Typos and unused variables. Good job, PhpStorm!
Merge pull request #1380 from ozh/typos

Typos and unused variables. Good job, PhpStorm!