Add a .gitignore file
Instruct CMake to create a Windows GUI application

Keep the entry point at main(), though, for simplicity.