Rework documentation for menu_rebuild lock implementation.