export to png sprite sheet base code
remove unneeded ';'
more or less working spritesheet export