fix crash with gfx.drawText()
fix compiling in visual studio
Merge pull request #10 from simtr/develop

Update to latest source