SpriteSheetResource implementation, plus GUI improvements
Fix up iOS library linking on iOS 5