Adding notifications and additional property.

Added notifications for when the master pane is shown or hidden. Also
added a property that returns whether the master pane is visible.