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

Keep the entry point at main(), though, for simplicity.
Windows: Create separate binaries for GUI and console