Minor fixes

- Fixed problem with GetApplicationPath under Windows.
- Updated project settings for generating DEBUG builds under Windows.