run GM_registerMenuCommand as early as possible