This patch simplifies the mode column button function.
The main change is moving the checks for whether to draw the button to the
beginning of the function, and centralizing them a bit. This also uses a
shorthand variable for ob_active. Hopefully this makes the function a bit
more readable, it also makes additional code for an upcoming bug fix
less messy.