Implemented ribbon xml rewrite for dynamicMenus so that callbacks work; closes #52