add comments to the optimization routines for the menu rendering ...