Improve status icon calculations.

* Set the initial icon to reflect the current status, instead of assuming
  disconnected
* When blinking, alternate between the pending icon and the current status,
  instead of assuming active