Preparing removal of menu debugging code.