fixed a bug where the wm's children executed from the apps menu died with the wm