Modified the patch to remove some redundant code, to translate strings, and to better use the menu system.