Fix implicit conversion from NULL to int warnings
Merge branch 'v4_backend' of https://github.com/macite/swingame into v4_backend