Better names for focused/visible.

Added getForeground/getBackground.