Prepare menu manager event handlers for string cleanup.