Improve exit logic
Merge branch 'master' of github.com:mevdschee/2048.c