Added support for hiding and showing player panes when appropriate