now widget factory can set the class of item,
theme set by the theme_config value is necessary only when user required.
give restriction for checking existance can be remove unnecessary
Oh, indeed, this is solving the same thing. Just with my change it will more a pain to merge it.