Added support for images in menus.