Fix for potential issue with debug mode in release builds.

Force debug mode to NO if release build - needed because release builds no longer show settings option to change DebugMode. Otherwise user would be stuck with DebugMode YES if they had previously had it enabled then upgraded to new version which no longer provides a way to change the debug mode setting.
Merge pull request #118 from montehurd/debugMode

Fix for potential issue with debug mode in release builds.