Added xml menu manager and fixed bug in js style switcher