Simplify bar color handling; some more documentation