Add new events to warn possible controller that we are going
to hide a pane, and add a hide() method counterpart to the show()
method.  Fixes #144.