Use g_win32_getlocale on win32
Update gitignore
Spawn crash handler asyncly on win32
Remove some commented code
Fix saving of files when program crashes