fix random repainting of settings
add color settings to component
fix color serialisation