[ticket/12597] Fix various mistakes

Typing mistakes
Coding style issue
Verbose mode messag

PHPBB3-12597