Minor fixes to xdg.Menu