Update .gitignore
Fix debugger working directory
(indirectly) Fix ini boolean parsing error
When debugging, put the git revision in the title

Useful for bug reports, user-friendly version still used when building
in release mode. A unix script for generating the git version is still
needed.