Initialize variables in the constructor.
Cppcheck fixes:

* reduce variable scope
* remove unneeded variable assignments
It seems it is hard for some people to use run_astyle.bat before pushing.
Commit != Push in git, but that is also hard for those people to understand.
As for the precommit hook, that is clearly out of scope for them; it's nuclear physics.
AboutDlg.cpp: use the CA2CT macro instead of CA2W