Half-fixed the CommandBar immediate closure bug by removing the "open" command; need to figure out how to suppress Windows's automatic negation of current BottomAppBar state on right-click. Contextual Delete Gate command works.