Removed unnecesarry stuff
Reduced maximum amount of colors to 512