Make tab count of WidgetTabControl dynamic and fix variable name style