Several fixes

Debug Mode included
Code optimization
Resolution fix
Better resolution and quality settings
gitignore
Merge pull request #1 from MaxMorgenstern/working-branch

Working branch