Allow an optional label function name argument to be specified for style menus.
Change the background style menu in the styles example to use this argument to show an example use.