Updated project to recommended settings. Fixed static analyzer issue.