Small logic improvements

Added 4 state parameters
background color
background opacity
title color
title opacity
Please don't modify submodules.