[ticket/12597] Fix various mistakes

Typing mistakes
Coding style issue
Verbose mode messag

PHPBB3-12597
[ticket/12597] Typing corrections and improvement of code consistency

PHPBB3-12597
Merge branch 'ticket/12597' of github.com:ptitlazy/phpbb into ticket/12597