Add support for managed status bars.

More goodies, as promised. :)
I would prefer this to be an `if` statement instead of a ternary operator, this is difficult to read.