Fixed menu item bug, made deoptimizer "in place"