Menu refactor allowing menu items to be bound to memory locations.