save ifDrawText state
refactor, rename variables
Merge pull request #13 from lzyzsd/master

save ifDrawText state