frames: menu refactoring