Merge pull request #254 from xfra35/issue#254

Bug fix: Image dump/render additional arguments shifted
Optimize code
Merge branch 'dev' of github.com:bcosca/fatfree into dev