Menu/ToolBar: Implement automatic updating of separator visibility