make padding a little bit wider;
removeUnusedSpriteFrames before removeUnusedTextures because spriteFrame will retain textures;
make createDirectory static and public;