prevent "stale variable" errors in EditMode menus

*shakes fist at edit mode*