SpriteSheet fixes

Added SpriteSheet sample
Misc crash fixes