Added cylinder and text in the pen palatte. Fixed incorrect updatesPalette flag computation.