Added palette functionality
Added delete palette functionality