added visible flag for theme_cms
fix mapwidget not having more than 1 instances