Added some checks for loading file files.
updated version
Merge branch 'master' of https://github.com/synthetos/tgFX