Issue #1682890 by Schoonzie: Fix notices if no panes are added.