Safer acquisition of the sidebar colour, references #8