Specify ATL in the project file since it's used.
Initialize variables.
Add a workaround for the VS2012 Update2 bug on XP.
See here for details about the bug:
http://tedwvc.wordpress.com/2013/04/14/how-to-get-visual-c-2012-update-2-statically-linked-applications-to-run-on-windows-xp/