Added supprot for generate optimal palette for sprite
Added dither sprite as image and fix generate optimal palette
fix project saving and loading sprites