Fix software rendering (disable vsync, fix null pointer de-ref)
Merge pull request #117 from dukope/master

Fix software rendering (disable vsync, fix null pointer de-ref)