Added ContentPane visibility toggle support.

Also minor indentation fixes.

toggle the 3rd state's green pane visibility by 5 - debug